package com.binance.notification.api;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.binance.master.configs.FeignConfig;
import com.binance.master.constant.Constant;
import com.binance.master.models.APIRequest;
import com.binance.master.models.APIResponse;
import com.binance.notification.api.request.GetAbnormalTradeNoticeInfoListRequest;

import io.swagger.annotations.Api;

@FeignClient(name = Constant.NOTIFICATION_WEB_SERVICE, configuration = FeignConfig.class)
@Api
public interface IAbnormalTradeApi {

    @PostMapping(value = "/trade/notice/getAbnormalTradeNoticeInfoList")
    public APIResponse<String> getAbnormalTradeNoticeInfoList(
            @RequestBody APIRequest<GetAbnormalTradeNoticeInfoListRequest> request) throws Exception;

}
